package cn.tedu.uniapp.backend.controller;

import cn.tedu.uniapp.backend.entity.User;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/uniapp")
public class PostController {

    @PostMapping("/post")
    public String postUser(User user){
        System.out.println("用户信息:"+user);
        return "成功!";
    }
}
